from abc import ABC,abstractmethod

class IKbInterface(ABC):
    @abstractmethod
    async def get_kb_list(self, user_id: str = None, keyword: str = None,
                          page: int = 1, page_size: int = 10) -> dict:...


    @abstractmethod
    async def create_kb(self, kb_name: str, user_id: str = None):...

    @abstractmethod
    async def delete_by_kb_id(self, kb_id: str):...
